#ifndef YOOHOO_XDATA_XDATAFIELDCONTAINER_H
#define YOOHOO_XDATA_XDATAFIELDCONTAINER_H

#include "xdata/export.h"
#include "xdata/xdatafield.h"
#include "xmppcore/protocoltranslator.h"

#include <QtCore/QList>

namespace yoohoo_xdata {

using namespace yoohoo_xmppcore;

class YOOHOO_XDATA_EXPORT XDataFieldContainer : public ProtocolTranslator {
public:
	void setFields(QList<XDataField> fields);
	QList<XDataField>& fields();
	virtual QString toXml();

protected:
	QList<XDataField> _fields;
};

}

#endif
